package com.ruoyi.yun.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.yun.mapper.YunCoufigTmllogMapper;
import com.ruoyi.yun.domain.YunCoufigTmllog;
import com.ruoyi.yun.service.IYunCoufigTmllogService;

/**
 * 终端日志查询Service业务层处理
 * 
 * @author ruoyi
 * @date 2023-10-24
 */
@Service
public class YunCoufigTmllogServiceImpl implements IYunCoufigTmllogService 
{
    @Autowired
    private YunCoufigTmllogMapper yunCoufigTmllogMapper;

    /**
     * 查询终端日志查询
     * 
     * @param id 终端日志查询主键
     * @return 终端日志查询
     */
    @Override
    public YunCoufigTmllog selectYunCoufigTmllogById(Long id)
    {
        return yunCoufigTmllogMapper.selectYunCoufigTmllogById(id);
    }

    /**
     * 查询终端日志查询列表
     * 
     * @param yunCoufigTmllog 终端日志查询
     * @return 终端日志查询
     */
    @Override
    public List<YunCoufigTmllog> selectYunCoufigTmllogList(YunCoufigTmllog yunCoufigTmllog)
    {
        return yunCoufigTmllogMapper.selectYunCoufigTmllogList(yunCoufigTmllog);
    }

    /**
     * 新增终端日志查询
     * 
     * @param yunCoufigTmllog 终端日志查询
     * @return 结果
     */
    @Override
    public int insertYunCoufigTmllog(YunCoufigTmllog yunCoufigTmllog)
    {
        return yunCoufigTmllogMapper.insertYunCoufigTmllog(yunCoufigTmllog);
    }

    /**
     * 修改终端日志查询
     * 
     * @param yunCoufigTmllog 终端日志查询
     * @return 结果
     */
    @Override
    public int updateYunCoufigTmllog(YunCoufigTmllog yunCoufigTmllog)
    {
        return yunCoufigTmllogMapper.updateYunCoufigTmllog(yunCoufigTmllog);
    }

    /**
     * 批量删除终端日志查询
     * 
     * @param ids 需要删除的终端日志查询主键
     * @return 结果
     */
    @Override
    public int deleteYunCoufigTmllogByIds(Long[] ids)
    {
        return yunCoufigTmllogMapper.deleteYunCoufigTmllogByIds(ids);
    }

    /**
     * 删除终端日志查询信息
     * 
     * @param id 终端日志查询主键
     * @return 结果
     */
    @Override
    public int deleteYunCoufigTmllogById(Long id)
    {
        return yunCoufigTmllogMapper.deleteYunCoufigTmllogById(id);
    }
}
